package org.xs.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import org.xs.entity.Video;

@Repository
public interface VideoMapper {

    @Select("select * from video where id = #{videoId}")
    Video findById(@Param("videoId") int videoId);
}
